package org.news.entity;

import java.util.List;

/*
 * 鏂伴椈 瀹炰綋绫�
 * @author  
 */

public class News {
	
	private String nid;//涓婚敭
	private String ntid;//topicId 绫诲瀷id
	private String ntname;//绫诲瀷鍚嶇О
	private List<Comment> comments;//璇ユ墍鏈夌殑璇勮	
	private String ntitle;//鏍囬
	private String nauthor;//浣滆�
	private String ncreatedate;//鍒涘缓鏃ユ湡
	private String npicpath;//鍥剧墖璺緞
	private String ncontent;//鍐呭
	private String nmodifydate;//淇敼鏃ユ湡
	private String nsummary;//鎽樿
	
	public String getNtname() {
		return ntname;
	}

	public void setNtname(String ntname) {
		this.ntname = ntname;
	}	

	public String getNid() {
		return nid;
	}

	public void setNid(String nid) {
		this.nid = nid;
	}

	public String getNtid() {
		return ntid;
	}

	public void setNtid(String ntid) {
		this.ntid = ntid;
	}

	public String getNtitle() {
		return ntitle;
	}

	public void setNtitle(String ntitle) {
		this.ntitle = ntitle;
	}

	public String getNauthor() {
		return nauthor;
	}

	public void setNauthor(String nauthor) {
		this.nauthor = nauthor;
	}

	public String getNcreatedate() {
		return ncreatedate;
	}

	public void setNcreatedate(String ncreatedate) {
		this.ncreatedate = ncreatedate;
	}

	public String getNpicpath() {
		return npicpath;
	}

	public void setNpicpath(String npicpath) {
		this.npicpath = npicpath;
	}

	public String getNcontent() {
		return ncontent;
	}

	public void setNcontent(String ncontent) {
		this.ncontent = ncontent;
	}

	public String getNmodifydate() {
		return nmodifydate;
	}

	public void setNmodifydate(String nmodifydate) {
		this.nmodifydate = nmodifydate;
	}

	public String getNsummary() {
		return nsummary;
	}

	public void setNsummary(String nsummary) {
		this.nsummary = nsummary;
	}

	public List<Comment> getComments() {
		return comments;
	}

	public void setComments(List<Comment> comments) {
		this.comments = comments;
	}

	@Override
	public String toString() {
		return "News [nid=" + nid + ", ntid=" + ntid + ", ntname=" + ntname
				+ ", comments=" + comments + ", ntitle=" + ntitle
				+ ", nauthor=" + nauthor + ", ncreatedate=" + ncreatedate
				+ ", npicpath=" + npicpath + ", ncontent=" + ncontent
				+ ", nmodifydate=" + nmodifydate + ", nsummary=" + nsummary
				+ "]";
	}
	
}
